@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.app-container {
  padding: 20px;
}

.pan-center{
  text-align: center;
}


@for $i from 0 through 60 {
  .ali-mt#{$i} {
    margin-top: $i + px;
  }
  .ali-mb#{$i} {
    margin-bottom: $i + px !important;
  }
  .ali-mr#{$i} {
    margin-right: $i + px;
  }
  .ali-ml#{$i} {
    margin-left: $i + px !important;
  }
  .ali-m#{$i} {
    margin: $i + px;
  }
}

@for $i from 0 through 50 {
  .ali-pt#{$i} {
    padding-top: $i + px;
  }
  .ali-pb#{$i} {
    padding-bottom: $i + px;
  }
  .ali-pr#{$i} {
    padding-right: $i + px;
  }
  .ali-pl#{$i} {
    padding-left: $i + px;
  }
  .ali-p#{$i} {
    padding: $i + px;
  }
}
.ali-h100{height: 100%}
.ali-w100{width: 100%}

@for $i from 10 through 50 {
  .ali-font#{$i} {
    font-size: $i + px;
  }
  .ali-font#{$i} {
    font-size: $i + px;
  }
  .ali-font#{$i} {
    font-size: $i + px;
  }
  .ali-font#{$i} {
    font-size: $i + px;
  }
  .ali-font#{$i} {
    font-size: $i + px;
  }
}
.ali-d-flex{
  display: flex;
  align-items: center;
}
